over the 6th and 9th ceturies the monks became scholars